<!--
  @author tanbiao
  @since 2019-11-21 18:56:50
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<!--搜索条件置于单独的layui-card-body中
    -->
<div class="layui-card-body" th:fragment="query">
    <!--用于保存或传值的隐藏表单元素
        置于form标签内的最上方
        -->

    <!--每个zmn-form-item一行，每行4列
       支持页面自适应，1280分辨率下不折行
       -->
    <div class="zmn-form-item">

        <!--默认情况下标签item-inline占据1列，
            加入样式col2，表示该item-inline占据2列，用于支持多级联动下拉框
            -->
        <div class="item-inline">
            <label class="inline-label">价格表ID/名称：</label>
            <div class="inline-box">
                <div class="inline-box-cc">
                    <div class="box-input-inline">
                        <input type="text" name="tariffNameOrId" th:value="${vo.tariffNameOrId}" placeholder="价格表ID/名称" autocomplete="off" class="layui-input" style="width:233px;" maxlength="45"/>
                    </div>
                </div>
            </div>
        </div>

        <div class="item-inline">
            <label class="inline-label">业务类型：</label>
            <div class="inline-box">
                <div class="inline-box-cc">
                    <div class="box-input-inline">
                        <select name="bizType">
                            <option value="0" th:selected="${0 == vo.bizType}">请选择</option>
                            <option th:value="1" th:selected="${1 == vo.bizType}">C-保外业务</option>
                            <option th:value="3" th:selected="${3 == vo.bizType}">B-工程业务</option>
                            <option th:value="2" th:selected="${2 == vo.bizType}">F-保内业务</option>
                        </select>
                    </div>
                </div>
            </div>
        </div>

        <div class="item-inline">
            <label class="inline-label">价格表类型：</label>
            <div class="inline-box">
                <div class="inline-box-cc">
                    <div class="box-input-inline">
                        <select name="tariffType">
                            <option value="0" th:selected="${0 == vo.tariffType}">请选择</option>
                            <option th:value="1" th:selected="${1 == vo.tariffType}">服务价格</option>
                            <option th:value="2" th:selected="${2 == vo.tariffType}">计价器价格</option>
                            <option th:value="3" th:selected="${3 == vo.tariffType}">提前付价格</option>
                            <option th:value="4" th:selected="${4 == vo.tariffType}">计价器3.0价格</option>
                        </select>
                    </div>
                </div>
            </div>
        </div>
        <div class="item-submit">
            <!--查询与重置按钮
           查询按钮lay-filter属性统一定义为zmn-form-submit
           如查询条件较多，为节省横向空间，查询按钮使用小按钮(无文字“查询”)
           -->
            <button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="zmn-form-submit"><i class="layui-icon">&#xe615;</i> </button>
        </div>
    </div>

</div>
